package plus.easydo.server.user.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import plus.easydo.starter.mybatis.plus.entity.MPBaseEntity;

/**
 * 租户管理数据库映射对象
 * 
 * @author gebilaoyu
 * @date 2021-07-14 15:01:22
 */
@Data

@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tenant")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Tenant extends MPBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 租户id */
    @TableId(value = "id" , type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "租户id")
    private String id;


}
